package com.lzx.dormsys.service;

import java.util.List;
import com.lzx.dormsys.bean.PersonBean;

/**
 * personService接口
 * 
 * @author lzx
 * @date 2021-09-09
 */
public interface IPersonBeanService 
{
    /**
     * 查询person
     * 
     * @param personId personID
     * @return person
     */
    public PersonBean selectPersonBeanById(Long personId);

    /**
     * 查询person列表
     * 
     * @param personBean person
     * @return person集合
     */
    public List<PersonBean> selectPersonBeanList(PersonBean personBean);

    /**
     * 新增person
     * 
     * @param personBean person
     * @return 结果
     */
    public int insertPersonBean(PersonBean personBean);

    /**
     * 修改person
     * 
     * @param personBean person
     * @return 结果
     */
    public int updatePersonBean(PersonBean personBean);

    /**
     * 批量删除person
     * 
     * @param personIds 需要删除的personID
     * @return 结果
     */
    public int deletePersonBeanByIds(Long[] personIds);

    /**
     * 删除person信息
     * 
     * @param personId personID
     * @return 结果
     */
    public int deletePersonBeanById(Long personId);
}
